home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 76
/
XENIATGM66.iso
/
Indiana Jones
/
Indiana Jones.exe
/
RESOURCE
/
PREVIEW.GOB
/
cog_pru_test3.cog
< prev
next >
Wrap
Text File
|
1999-11-15
|
641b
|
42 lines
# Jones 3D Cog Script
#
# PRU_test3.cog
#
# [GGJ]
#
# (C) 1999 LucasArts Entertainment Company LLC. All Rights Reserved
#
# ========================================================================================
symbols
message damaged
message startup
thing rock mask=0x08
int fovInt=120 local
end
# ========================================================================================
code
startup:
Sleep(1.0);
ResetCameraFOV(0, 0.0);
damaged:
Print("damaged");
if (fovInt > 20)
{
fovInt = fovInt - 10;
SetCameraFOV(fovInt, 0, 0.0);
}
else
{
fovInt = 120;
}
return;
end